import { createRouter, createWebHistory } from "vue-router";

const routes = [
    {
        path: "/",
        name: "Home",
        component: () => import("../App.vue"),
    },
    {
        path: "/Puzzle",
        name: "Puzzle",
        component: () => import("../components/puzzle/Puzzle.vue")
    }
    ,
    {
        path: "/GreedySnake",
        name: "GreedySnake",
        component: () => import("../components/greedy-snake/GreedySnake.vue")
    }
];

export default createRouter({
    history: createWebHistory(),
    routes,
});